package com.csun.cmny.provider.dao;

import com.csun.cmny.core.mybatis.MyMapper;
import com.csun.cmny.provider.model.domain.UacStaffStatus;
import com.csun.cmny.provider.model.dto.staff.StaffStatusQueryDto;
import com.csun.cmny.provider.model.vo.StaffStatusVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface UacStaffStatusMapper extends MyMapper<UacStaffStatus> {
    List<StaffStatusVo> listPage(StaffStatusQueryDto staffStatusQueryDto);

    int deleteByStaffId(@Param("id") Long id);
}
